//
//  PlaceModel.m
//  RoadLine
//
//  Created by dllo on 15/4/21.
//  Copyright (c) 2015年 RedFireNoodles. All rights reserved.
//

#import "PlaceModel.h"

@implementation PlaceModel

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.location = [NSMutableDictionary dictionary];
    }
    return self;
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"id"]) {
        self.placeId = value ;
    }
    if ([key isEqualToString:@"description"]) {
        self.desc = value;
    }
}

@end
